#! /bin/bash
cd ~ 
echo "export LC_ALL=en_US.UTF8" >> /etc/profile
source /etc/profile
sudo yum -y update
sudo yum -y install git zsh nvme-cli dstat sysstat smartmontools lrzsz iotop gdisk coreutils nvme-cli lsscsi net-tools python3-pip
sudo yum -y install git zsh wget net-tools vim-enhanced epel-release lrzsz lsof util-linux-user
sudo yum install -y container-selinux libtool-ltdl libseccomp yum-plugin-ovl yum-utils device-mapper-persistent-data lvm2

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
git clone git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
sudo cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
sudo sed -i "s/robbyrussell/ys/g" ~/.zshrc
sudo sed -i "s/plugins=(git)/plugins=(git z zsh-autosuggestions docker docker-compose)/g" ~/.zshrc
command -v zsh | sudo tee -a /etc/shells
sudo chsh -s /bin/zsh
sudo chsh -s $(which zsh)
#sudo chsh -s $(which zsh) john
sudo reboot

